package com.grade.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.grade.domain.Response;
import com.grade.domain.Student;
import com.grade.domain.UserDto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentDao extends BaseMapper<Student> {
    UserDto isRightStudent(String account, String password);

    List<Student> getAllStudent();

    void addStudent(Student student);
}
